SOL200 NEO Post Processing

Purpose:

This tool provides post-processing visualization capabilities for MSC Nastran SOL 200 topology optimization results generated using the Neo kernel. It enables users to visualize the evolution of topology optimization designs across design cycles and analyze optimization parameter convergence.

Key Features

· 3D Visualization: Renders PLY mesh files as VTK geometry in the APEX viewport to visualize topology evolution

· Design Cycle Navigation: Browse through optimization iterations using First, Previous, Next, and Last controls

· Parameter Plotting: Interactive plots showing optimization parameter convergence (mass, compliance, constraints) vs. design cycle

· CSV Export: Export parameter data for external analysis

· Multiple Plot Views: Individual parameter plots, combined plots, and subplot layouts

Usage Guide

1. Launching the Tool

The tool is located in the Optimizations > 03_Postprocessing > Sol200Neo_post section of the APEX Utilities palette.

Click on the tool to open the user interface.

2. Selecting Results Folder

Click the Select Folder button to browse to the folder containing your SOL 200 Neo optimization results.

The folder should contain PLY files named in the format: nominal_intersected_001.ply , nominal_intersected_002.ply , etc.

The tool automatically detects the total number of iterations available.

3. Navigating Design Cycles

Use the navigation controls to browse through design cycles:

· First: Jump to the first design cycle (iteration 001)

· Previous: Move to the previous design cycle

· Next: Move to the next design cycle

· Last: Jump to the final design cycle

· Iteration: Manually enter a specific iteration number in the text box

The corresponding PLY file will be converted to VTK format and rendered in the APEX viewport.

4. Viewing Parameter Plots

If CSV files with parameter data are present in the results folder, you can launch the plotting interface.

The plotting window provides tabbed views:

· Individual Parameter Tabs: One tab per parameter showing its evolution over design cycles

· All Parameters Tab: Combined plot showing all parameters on the same axes

· Subplots Tab: Stacked subplots showing each parameter separately but aligned

A red vertical line in the plots highlights the currently selected iteration.

5. Exporting Results

Parameter data can be exported to CSV format for external analysis or documentation.

Individual plots can be exported as PNG images.

Technical Architecture

Component Overview

· Sol200Neo_post_ui.py: WPF-based user interface with folder selection and iteration navigation controls

· Sol200Neo_post_apex_methods.py: Backend class (Sol200NeoPostBackend) containing VTK rendering logic, PLY file conversion, and iteration management

· Sol200Neo_post_api.py: Pyro5 API layer for remote procedure calls between UI and backend

· plotter_ui.py: Tkinter-based plotting interface using matplotlib for parameter visualization

Data Flow

1. User selects results folder via WPF UI

2. Backend scans folder and counts PLY files to determine total iterations

3. For each iteration navigation:

a. Backend converts PLY file to VTK format using VTK library

b. VTK geometry is rendered in APEX's external VTK widget

c. UI updates to reflect current iteration

4. Plot window (if opened) reads CSV files and creates matplotlib figures, highlighting the current iteration

File Format Requirements

PLY Files

PLY files must follow the naming convention:

<basename>_<iteration>.ply

Default basename: nominal_intersected

Iteration format: Three-digit zero-padded (001, 002, ..., 999)

Example: nominal_intersected_015.ply

CSV Files (Optional)

CSV files should contain optimization parameters with headers in the first row.

Each file should correspond to a design cycle.

Naming convention: <parameter_name>_<iteration>.csv

Typical Workflow

1. Run a SOL 200 Neo topology optimization analysis in MSC Nastran

2. Extract PLY files from optimization results (one per design cycle)

3. Optionally prepare CSV files with parameter data (mass, compliance, etc.)

4. Launch Sol200Neo_post tool in APEX

5. Select the results folder

6. Navigate through design cycles to observe topology evolution

7. Open plot window to analyze parameter convergence

8. Export data or images as needed for documentation

Known Issues and Limitations

VTK Rendering

Multiple renderings may accumulate in the viewport. Use the clear function or refresh APEX display if needed.

Threading

The plotting interface runs in a separate thread. Closing APEX while the plot window is open may require manual termination.

File Paths

Use forward slashes or raw strings for file paths to avoid Windows path issues.

Dependencies

· Python 3.x

· VTK library (vtkmodules)

· Pyro5 (for remote procedure calls)

· matplotlib (for plotting)

· tkinter (for plot window GUI)

· pandas (for CSV data handling)

· MSC APEX with Python integration

Tips and Best Practices

· Organize Results: Keep all PLY files for a single optimization run in a dedicated folder

· File Naming: Ensure PLY files follow the exact naming convention for proper iteration detection

· Performance: For large PLY files, VTK conversion may take a few seconds

· Viewport Management: Adjust APEX viewport orientation and zoom for optimal visualization of topology results

· Plot Analysis: Use the combined plots to compare multiple optimization objectives simultaneously

Reference

Related Tools

· Topology Optimization (Pre-processing): Tool for setting up SOL 200 Neo topology optimization analysis

· Sensitivity Analysis: Post-processing tool for analyzing design sensitivities

Documentation

· MSC Nastran Design Sensitivity and Optimization User's Guide

· VTK User Guide and Reference Manual

Version: 1.4

Last Updated: June 11, 2026